package com.cheer.service;

import com.cheer.vo.FlowerVO;

public interface FlowerService {

    /**
     * 小红花首页
     * @param userId
     * @return
     */
    FlowerVO index(Integer userId);

    /**
     * 兑换小红花
     * @param userId
     * @param exchangeNum
     */
    void exchange(Integer userId, Integer exchangeNum);


    /**
     * 获取小红花
     * @param shopCredit
     * @return
     */
    Integer getFlower(Integer shopCredit);

}
